﻿<div ng-controller="bazaarOrderController">
    <div class="wrapper border-bottom white-bg page-heading">
        <div class="col-lg-pull-12">
            <ol class="breadcrumb">
                <li><a href="javascript:void(0)" ng-click="goBack()">订单管理</a></li>
                <li class="active">订单详情</li>
            </ol>
        </div>
    </div>
    <div class="form-horizontal">
        <div class="row">
            <div class="col-sm-12 ">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">订单号：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.order_no}}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">订单状态：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static" ng-if="model.status==0" style="color:red">{{model.status_desc}}</p>
                                <p class="form-control-static" ng-if="model.status==1" style="color:blue">{{model.status_desc}}</p>
                                <p class="form-control-static" ng-if="model.status==2" style="color:black">{{model.status_desc}}</p>
                                <p class="form-control-static" ng-if="model.status==3" style="color:gray">{{model.status_desc}}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">卖家信息：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">  {{model.seller_merchant_name}}    {{model.seller_merchant_mobile}}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">创建时间：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.create_time}}</p>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <div class="col-sm-12 ">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">商品名称：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.product_name}}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">商品介绍：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.prodcut_desc}}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">商品图：</label>
                            <div class="col-sm-8">
                                <div ng-repeat="item in model.product_imgs" style="float:left">
                                    <img src="{{site.img_url+item}}" height="200" width="200" />
                                </div>
                            </div>
                        </div>
                      
                    </div>
                </div>
            </div>
            <div class="col-sm-12 ">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">商品价格：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.price}}红钻</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">交付方式：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.delivering==0?"邮寄":"到付"}}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">物流公司：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.express_company_name}}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">物流单号：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.ship_order_number}}</p>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <div class="col-sm-12 ">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">买家信息：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">  {{model.buy_merchant_name}}    {{model.buy_merchant_mobile}}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">收货信息：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">{{model.ship_name}} {{model.ship_phone}}</p>
                                <p class="form-control-static">{{model.ship_region_name}} {{model.ship_address}}</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group form-group-sm">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-3">
                    <button ng-click="goBack()" class="btn btn-primary btn-sm"><i class="fa fa-rotate-left"></i> 返回</button>
                </div>
            </div>
        </div>

    </div>
</div>